(function($, undefined) {
  $.cha.ns("s3");
  
  /**
   * @constructor
   * @param {$.cha.s3.ListBucketResult} parent
   */
  $.cha.s3.CommonPrefixes = function(parent) {
    this.parent = parent;
    this.Prefix ="";
    
    this.folder = true;
  };
  
  $.cha.s3.CommonPrefixes.prototype.name = function(){
    return this.Prefix.substring(this.parent.Prefix.length, this.Prefix.length-1);
  };
}(jQuery));